home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 43 / Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso / -serious- / graphics / fxforge / saw edge fx < prev    next >
Text File  |  1999-06-15  |  854b  |  26 lines

  1. Category: Filter Factory Gallery L
  2. Title: Saw Edge FX...
  3. Author: Sydney Norton & Mario Klingmann
  4. Copyright: Copyright © Sydney Norton & Mario Klingmann
  5.  
  6. ctl[0]: X movement
  7. ctl[1]: Y movement
  8. ctl[2]: Overall size
  9. ctl[3]: Tooth height
  10. ctl[4]: rotation (keep high for a round saw blade)
  11. ctl[5]: Number of Teeth
  12. ctl[6]:Rotation
  13. ctl[7]: Effect (0-3 for saw blade)
  14. val[0]: 128
  15. val[1]: 128
  16. val[2]: 205
  17. val[3]: 56
  18. val[4]: 253
  19. val[5]: 255
  20. val[6]: 0
  21. val[7]: 0
  22. R:put(c2d(x-val(0,0,X),y-val(1,0,Y))+val(4,0,1024),1),put(c2d(x-val(0,0,X),y-val(1,0,Y))+val(6,0,1024),2),put(c2m(x-val(0,0,X),y-val(1,0,Y))+mix(-val(3,0,M),0,sin(get(1)%val(5,0,100))+cos(get(2)*(val(7,0,100)))+512,1024),0),put(scl(get(0),0,val(2,0,M/2),0,255),4),get(0)>val(2,0,M/2)?get(4)+c%(get(4)*255):c
  23. G:get(0)>val(2,0,M/2)?get(4)+c%(get(4)*255):c
  24. B:get(0)>val(2,0,M/2)?get(4)+c%(get(4)*255):c
  25. A:a
  26.